package com.hdoit.kylin.logical.studentManager.service.impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.hdoit.kylin.logical.studentManager.dao.IMidCheckDao;
import com.hdoit.kylin.logical.studentManager.model.MidCheck;
import com.hdoit.kylin.logical.studentManager.service.IMidCheckService;
import com.hdoit.kylin.logical.viewmodel.postgraduate.MidCheckSearch;
import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;
/**
* @author anshengqiang
* @email
* @createtime 2017年07月26日 11:20:18
* @comment
*/
@Component
public class MidCheckServiceImpl extends SuperService<MidCheck> implements IMidCheckService{
	private IMidCheckDao midCheckDao;

	public IMidCheckDao getIMidCheckDao() {
		return midCheckDao;
	}
	
	@Resource
	public void setIMidCheckDao(IMidCheckDao midCheckDao) {
		this.midCheckDao = midCheckDao;
	}
	@Override
	public List<MidCheck> queryList(MidCheckSearch search, PagerModel pagerModel) {
		return midCheckDao.queryList(search, pagerModel);
	}

	@Override
	public int queryCount(MidCheckSearch search) {
		return midCheckDao.queryCount(search);
	}

}